export default{
    getcategory(state,value){
        state.shopcategory=value
    },
    getshoplists(state,value){
        state.shoplists=value

    },
    // 得到用户的信息
    getloginuserinfo(state,value){
       state.userinfo=value
       console.log(state.userinfo);
    },
    // 清除用户的信息
    clearuserinfo(state){
        state.userinfo={}
    }
}